package com.zhima.handler;

import com.zhima.dto.FeignJudgeRecordDTO;
import com.zhima.dto.FeignQuestionJudgeInfoDTO;
import com.zhima.enums.JudgerTypeEnums;
import org.springframework.stereotype.Component;

/**
 * @author : Administer
 * @date : 2023-09-07 09:43
 **/
@Component
public class SandboxJudgerHandler extends AbstractJudgerHandler {

    @Override
    public JudgerTypeEnums getJudgerType() {
        return JudgerTypeEnums.SANDBOX;
    }

    @Override
    public void handle(FeignJudgeRecordDTO feignJudgeRecordDTO, FeignQuestionJudgeInfoDTO feignQuestionJudgeInfoDTO) {
        // TODO: 等沙箱搭建完毕后再补充这里的逻辑
    }

    @Override
    public boolean compile(FeignJudgeRecordDTO feignJudgeRecordDTO, FeignQuestionJudgeInfoDTO feignQuestionJudgeInfoDTO) {
        return false;
    }
}
